﻿using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfMongoDB
{
    public class TreeNodeModel
    {
        public TreeNodeModel()
        {
            ChildItem = new List<TreeNodeModel>();
        }
        public string Name { get; set; }
        public string Icon { get; set; }
        public List<TreeNodeModel> ChildItem { get; set; }
        public TreeNodeType Type { get; set; }
        public MongoCollection Collection { get; set; }
    }
}
